odoo.define('load_echarts', function (require) {
    "use strict";
    var core = require('web.core');
    var Widget = require('web.Widget');


    var Echarts = Widget.extend({
        // 对应xml中t-name
        template: 'echarts_china_template',

        init: function(parent, data){
            return this._super.apply(this, arguments);
        },

        start: function(){
            return true;
        },


    });
    // 对应client_action中的tag
    core.action_registry.add('load_echarts.load_echarts_china', Echarts);
})